Added a comment
authoryarikoptic <yarikoptic@web>
Tue, 7 Jan 2025 16:09:31 +0000 (16:09 +0000)
committeradmin <admin@branchable.com>
Tue, 7 Jan 2025 16:09:31 +0000 (16:09 +0000)
doc/todo/Support___40__globally_configured__41_____34__annex_init__34___hooks/comment_1_60c69b1e48aba5afa6fd81f285321e89._comment [new file with mode: 0644]

diff --git a/doc/todo/Support___40__globally_configured__41_____34__annex_init__34___hooks/comment_1_60c69b1e48aba5afa6fd81f285321e89._comment b/doc/todo/Support___40__globally_configured__41_____34__annex_init__34___hooks/comment_1_60c69b1e48aba5afa6fd81f285321e89._comment
new file mode 100644 (file)
index 0000000..970610d
--- /dev/null
@@ -0,0 +1,10 @@
+[[!comment format=mdwn
+ username="yarikoptic"
+ avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
+ subject="comment 1"
+ date="2025-01-07T16:09:31Z"
+ content="""
+I even wonder if there could be some easy way to setup overall hook for `git-annex` invocation within a repo (hence within `.git/` of a repo) to e.g. safe-guard invocations of git-annex and prevent use within container environments (we often run into various problems).  So smells to me like developing some kind of `.git/annex/hooks/` support analog to `.git/hooks`.  Then whatever global `annex init` hook would setup for a repo within its `.git/annex/hooks` would be in effect for subsequent `annex` invocations within containers or natively.
+
+Other desired use-cases could be to prevent invocation of git-annex with known critical for that deployment defects/absent features (e.g. absent support of freeze/thaw scripts or some other recent feature).
+"""]]